package top.burning.confidant.model.pojo;

import java.util.Date;

/**
 * 用户类
 * @author tell
 */
public class User {
    /**
     * 自增主键
     */
    private Integer id;

    /**
     * 用户 id，具有唯一标识，不可重复
     */
    private Integer userId;
    /**
     * 用户昵称，具有唯一标识，不可重复
     */

    private String userName;
    /**
     *  用户登陆账号，一般为电话号码
     */

    private String userNumber;
    /**
     * 用户登陆密码
     */

    private String userPassword;

    /**
     * 用户电话号码
     */
    private String userPhone;

    /**
     * 用户账户余额
     */
    private Integer userWallet;

    /**
     *用户头像，这里存储图片链接
     */
    private String userHead;
    /**
     * 创建时间，需用户输入（无此功能则无需理会）
     */
    private Date createTime;

    /**
     *  数据更改或者更新时间，时间获取系统当前时间
     */
    private Date updataTime;
    /**
     * 创建操作人员
     */

    private String createPeople;
    /**
     * 修改操作人员
     */

    private String delPeople;

    /**
     * 逻辑删除值，建议使用 0，1 表示
     */
    private Integer delValue;

    /**
     * 地址表中的地址 id 在此做外键
     */
    private Integer uAddressId;

    /**
     *用于对用户密码进行加密
     */

    private String salt;

    /**
     * 登录登出状态
     */
    private Integer uState;


    public Integer getId() {
        return id;
    }


    public void setId(Integer id) {
        this.id = id;
    }


    public Integer getUserId() {
        return userId;
    }


    public void setUserId(Integer userId) {
        this.userId = userId;
    }


    public String getUserName() {
        return userName;
    }


    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }


    public String getUserNumber() {
        return userNumber;
    }


    public void setUserNumber(String userNumber) {
        this.userNumber = userNumber == null ? null : userNumber.trim();
    }


    public String getUserPassword() {
        return userPassword;
    }


    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }


    public String getUserPhone() {
        return userPhone;
    }


    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone == null ? null : userPhone.trim();
    }


    public Integer getUserWallet() {
        return userWallet;
    }


    public void setUserWallet(Integer userWallet) {
        this.userWallet = userWallet;
    }


    public String getUserHead() {
        return userHead;
    }


    public void setUserHead(String userHead) {
        this.userHead = userHead == null ? null : userHead.trim();
    }


    public Date getCreateTime() {
        return createTime;
    }


    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


    public Date getUpdataTime() {
        return updataTime;
    }


    public void setUpdataTime(Date updataTime) {
        this.updataTime = updataTime;
    }


    public String getCreatePeople() {
        return createPeople;
    }


    public void setCreatePeople(String createPeople) {
        this.createPeople = createPeople == null ? null : createPeople.trim();
    }


    public String getDelPeople() {
        return delPeople;
    }


    public void setDelPeople(String delPeople) {
        this.delPeople = delPeople == null ? null : delPeople.trim();
    }


    public Integer getDelValue() {
        return delValue;
    }


    public void setDelValue(Integer delValue) {
        this.delValue = delValue;
    }


    public Integer getuAddressId() {
        return uAddressId;
    }


    public void setuAddressId(Integer uAddressId) {
        this.uAddressId = uAddressId;
    }


    public String getSalt() {
        return salt;
    }


    public void setSalt(String salt) {
        this.salt = salt == null ? null : salt.trim();
    }


    public Integer getuState() {
        return uState;
    }


    public void setuState(Integer uState) {
        this.uState = uState;
    }
}